package com.mall.www.mapper;

import com.mall.www.entity.Integral;
import org.apache.ibatis.annotations.Param;

public interface IntegralMapper {
    int deleteByPrimaryKey(Long integralId);

    int insert(Integral record);

    int insertSelective(Integral record);

    Integral selectByPrimaryKey(Long integralId);

    int updateByPrimaryKeySelective(Integral record);

    int updateByPrimaryKey(Integral record);

    Integral selectByUserId(@Param("userId") Long userId);
}